package com.dzsw.hystrix;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.netflix.turbine.EnableTurbine;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableHystrixDashboard
@EnableTurbine
@ComponentScan(basePackages = {
        "com.dzsw.hystrix.config"
})
public class AppTurbine {

    public static void main(String[] args) {
        SpringApplication.run(AppTurbine.class, args);
    }


}
